package com.it.schoolhomeos.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDate;

@Data
@Schema(description = "考勤统计数据传输对象")
public class AttendanceStatisticsDTO {
    @Schema(description = "统计日期")
    private LocalDate date;

    @Schema(description = "学生总数")
    private int totalStudents;

    @Schema(description = "出勤人数")
    private int presentCount;

    @Schema(description = "缺勤人数")
    private int absentCount;

    @Schema(description = "请假人数")
    private int leaveCount;

    @Schema(description = "未记录人数")
    private int notRecordedCount;

    @Schema(description = "出勤率（百分比）")
    private double attendanceRate;

    @Schema(description = "缺勤率（百分比）")
    private double absentRate;

    @Schema(description = "请假率（百分比）")
    private double leaveRate;
}
